package com.gitee.jjnnzb.designpatterninspring.business.openapi.entity.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * @author Jjn
 * @since 2023/8/10 19:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Source1Param extends CommonParam {
    
    @Schema(description = "附件")
    private List<FileParam> files;
    
    @NotBlank(message = "平台名称不能为空")
    @Length(max = 30, message = "平台名称不能超过{max}字符")
    @Schema(description = "平台名称")
    private String platformName;
}
